home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 4
/
Precision Software Applications Silver Collection Volume 4 (1993).iso
/
new
/
qckfrm21.arj
/
PRINT.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-05-03
|
392b
|
24 lines
@ECHO OFF
ECHO.
IF NOT %1.==. GOTO good1
ECHO You did not specify a filename
ECHO Type PRINT (filename) For example:
ECHO.
ECHO PRINT MANUAL.DOC or PRINT README.DOC
ECHO.
GOTO end
:good1
IF EXIST %1 GOTO good2
ECHO %1 was not found
GOTO end
:good2
ECHO .... Printing %1 ....
COPY %1 LPT1 > nul
ECHO.
ECHO Printing Finished
:end
ECHO.